package org.lyg.service;

import com.github.pagehelper.PageInfo;

import org.lyg.domain.Comment;

public interface ICommentService {
    PageInfo<Comment> list(int page, int size);

    PageInfo<Comment> getCommentByBlogId(int id, int page, int size);

    PageInfo<Comment> getCommentByUserId(int id, int page, int size);

    boolean save(Comment comment);
}
